#!/bin/sh

# Part of Zombie Navigator
# Copyright © 2015  Zombie Navigator Developers

dir="`dirname "$0"`"/..
cd "$dir"


# Look for checkbashisms
if ! which checkbashisms >/dev/null 2>&1 ; then
	echo "Please install checkbashisms somewhere in PATH" >&2
	exit 1
fi

checkbashisms -n ./*.sh && {
	echo "[OK] Valid /bin/sh scripts!" >&2
} || {
	echo "[ERROR] Bashisms found!" >&2
	exit 2
}


# vim: ts=4 noet ai

